.work {
  margin-top: 12px;

  // 避免工作经历被分页切断
  page-break-inside: avoid;
  break-inside: avoid;

  // 确保工作经历之间有适当的分页
  &:not(:first-child) {
    page-break-before: auto;
  }
}

.work-title {
  display: flex;
  align-items: center;
  height: 27px;
  font-size: 16px;
  border-bottom: 2px solid rgb(37, 99, 235);

  .title {
    font-size: 18px;
    color: #2563eb;
  }
  .en {
    margin-left: 5px;
    font-size: 14px;
    color: #4b5563;
  }
}

.work-company {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  padding: 5px 8px;
  height: 35px;
  background-color: rgba(96, 165, 250, 0.1);

  .time {
    color: #6b7280;
  }
  .company {
    color: rgb(37, 99, 235);
    font-weight: 700;
  }
  .logo {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    // height: 16px;
  }
}

.work-intro {
  display: flex;
  align-items: center;
  margin-top: 8px;

  .label {
    font-size: 16px;
    font-weight: 700;
  }
  .text {
    font-size: 16px;
  }
}

.work-desc-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
  font-size: 15px;

  .desc-item {
    display: flex;
    align-items: flex-start;

    .num-container {
      display: flex;
      align-items: center;
      justify-content: center;
      // width: 24px;
      height: 24px;

      .num {
        width: 16px;
        height: 16px;
        line-height: 16px;
        border-radius: 50%;
        background-color: rgba(37, 99, 235, 0.8);
        color: white;
        text-align: center;
        font-size: 14px;
      }
    }
    .text-container {
      margin-left: 4px;
      .text {
        line-height: 24px;
      }
    }
  }
}

.work-tech-stack {
  display: flex;
  align-items: center;
  margin-top: 8px;
  height: 23px;

  .label {
    font-size: 16px;
    font-weight: 700;
  }
  .tags {
    display: flex;
    align-items: center;
    gap: 8px;
    .tag {
      padding: 0 4px;
      color: rgb(2, 132, 199);
      background-color: rgb(240, 249, 255);
      border-radius: 6px;
      font-size: 14px;
    }
  }
}
